Skip to main content

All Questions

Tagged with
1vote
2answers
491views

Where to put DLL specific settings?

I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
NoConnection's user avatar
0votes
1answer
758views

How do you identify unused parts of app and web .config files in .NET? [duplicate]

I am working on removing obsolete/unused pieces of configuration from a .NET product starting with appSettings. There are multiple solutions and I've noticed that appSettings can be in a .config file ...
Astrophe's user avatar
-1votes
1answer
114views

Use two parallel instances of the same .NET assembly

I've have an n-tier .NET 4.6 internal business application. It has a business logic layer class library project that references a data access layer class library project. It's designed to decouple the ...
xr280xr's user avatar
1vote
1answer
217views

Managing Multiple Applications With Similar Configuration Files

From the .Net perspective (C#, VB, etc.) and MSSQL, I have noticed that for a set of applications (maintained by the same development team) typically have the same defined configuration for connecting ...
eparham7861's user avatar
0votes
2answers
208views

Working with multiple environments and vNext best practice

The new ASP.NET documentation under Fundamentals/Working with Multiple Environments it has a detailed description of how to handle multiple environments (surprise surprise) in code. I was wondering ...
RyanCosans's user avatar
1vote
0answers
211views

Switch Configuration of Several .Net Programs for Several Sections in a Simple Way

We build a highly configurable .Net Client/Server application. (Client is C#/WPF, Server is C#/WebService) There is a single code base, but each customer has its own 'profile'. The profile contains:...
DrKoch's user avatar
8votes
8answers
4kviews

Is using something other than XML advisable for my configuration file?

I have a small tool I'm designing which would require a configuration file of some sort. The configuration file in my case is really more of a database, but it needs to be lightweight, and if needed ...
Earlz's user avatar
7votes
2answers
1kviews

In the context of semantic versioning, does a change in the default configuration warrant a new major version?

My module is enabled by default (i.e. when you add the module). There's also a configuration you can optionally use, which supports an enabled="true|false" setting. This way the module can be disabled ...
Michiel van Oosterhout's user avatar
7votes
4answers
2kviews

Managing large number of app.config files

We have many windows services and web apps which all rely on a lot of common settings. Currently we use just appSettings as needed and they are referenced by key. Some of the settings are app ...
rerun's user avatar
  • 2,045

close